#pragma once

#include "../base_outputer.h"
#include "../../log/async_file.h"

class OutputerFile : public BaseOutputer
{
public:
    OutputerFile();
    ~OutputerFile();

    virtual void StartOutput();
    virtual void StopOutPut();

    virtual void UpdateRadarPoint(CCVBlockInfo *message);
    virtual void UpdateRadarInfo(const radar_info* info);

private:
    std::string generate_file_name();

private:
    boost::shared_ptr<async_logging> m_log_file;
};